package org.sgx.dao.test.test1.testModel;

import org.sgx.dao.model.Model;

/**
 * class model example. a tree is also related to many Leafs, but this relationship will not be defined at java level, but using framework's Relationship objects 
 */
public class Tree implements Model {
	Long treeId;
	String specie;	
	public Tree(String specie) {
		this.specie = specie;
	}
	public Tree(){}
	public String getFieldIdName() {
		return "treeId";
	}
	public Long getTreeId() {
		return treeId;
	}
	public void setTreeId(Long treeId) {
		this.treeId = treeId;
	}
	public String getSpecie() {
		return specie;
	}
	public void setSpecie(String specie) {
		this.specie = specie;
	}		
}